import axios from '../../../axios'
export default {
    //保险分类列表及新增
    //新增
    addCompanies(newClassifys) {
        return axios({
            url: '/classifys/addClassifys',
            method: 'post',
            data: newClassifys
        });
    },
    //获取
    getClassifys(params) {
        return axios({
            url: '/classifys/getClassifys',
            method: 'get',
            params
        });
    },
    //删除
    deleteClassifys(data) {
        return axios({
            url: '/classifys/deleteClassifys',
            method: 'post',
            data
        })
    },
    //修改
    modifyClassifys(data) {
        return axios({
            url: '/classifys/modifyClassifys',
            method: 'post',
            data
        })
    }
}